home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
misc
/
math
/
MathFX_src.lha
/
fxr45.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-20
|
235b
|
14 lines
#include "mathfx.h"
#include <math.h>
void fxr45(ix,iy,isens)
int *ix, *iy, isens;
{
int ixx, iyy;
ixx = *ix-isens*(*iy);
iyy = *ix * isens + *iy;
*ix = ixx/max(1,abs(ixx));
*iy = iyy/max(1,abs(iyy));
}